home *** CD-ROM | disk | FTP | other *** search
/ Delphi Programmer's Power Pack / Delphi Volume 1.iso / e_to_l / fbuilder / delphi / demos / aboutfm.pas < prev    next >
Pascal/Delphi Source File  |  1996-09-15  |  811b  |  46 lines

  1. unit Aboutfm;
  2. interface
  3. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
  4.      Buttons, ExtCtrls, Rzlabel;
  5.  
  6. type
  7.   TAboutBox = class(TForm)
  8.     Panel2: TPanel;
  9.     iconpanel: TPanel;
  10.     ProgramIcon: TImage;
  11.     RzLabel1: TRzLabel;
  12.     Label1: TLabel;
  13.     Label3: TLabel;
  14.     Panel1: TPanel;
  15.     CompanyLabel: TRzLabel;
  16.     OKButton: TBitBtn;
  17.     RzLabel2: TRzLabel;
  18.     Label4: TLabel;
  19.     Label2: TLabel;
  20.     RzLabel3: TRzLabel;
  21.   private
  22.     { Private declarations }
  23.   public
  24.     { Public declarations }
  25.   end;
  26.  
  27. var
  28.   AboutBox: TAboutBox;
  29.  
  30.   Procedure DisplayAbout;
  31.  
  32. implementation
  33.  
  34. {$R *.DFM}
  35.  
  36.   Procedure DisplayAbout;
  37.   var about : TAboutBox;
  38.   begin
  39.     About := TAboutBox.Create(NIL);
  40.     About.ShowModal;
  41.     About.Free;
  42.   end;
  43.  
  44. end.
  45.  
  46.